import { AxiosError } from "axios"

export interface Options{
    url:string
    headers?:{}
    params?:{} | null
    others?:any
}

export interface Response<T>{
    code:number
    message:string
    data:T
}

export interface ResponseError<T=unknown,D=any> extends AxiosError<T,D>{
    hiddenDefaultErrorHandler():void

}